var content = require('../../../public/content');

return extend(content, {
    target:'#balance-aux',
    path:'/balance-aux/',
    data:{
        title:'辅助核算余额表',
        istwo:true
    },
    template:{
        left:renders({
            <%include 'date'%>
            <%include 'more'%>
        }),
        detail:renders({
            <%include 'aux'%>
            <%include 'subject'%>
            <%include 'project'%>
        })
    },
    grid:{
        paging:{
            url:sourceHttp,
            isPage:false
        },
        columns:[{
            title:'客户编码',
            width:120,
            field:'buname'
        }, {
            title:'客户名称',
            field:'buname',
            align:'left'
        }, {
            title:'期初余额',
            width:'24%',
            className:'bdlr',
            children:[{
                title:'借方',
                field:'buname',
                width:'12%',
                className:'bdtlr',
                align:'right'
            }, {
                title:'贷方',
                field:'buname',
                width:'12%',
                className:'bdtlr',
                align:'right'
            }]
        }, {
            title:'本期发生额',
            width:'24%',
            className:'bdlr',
            children:[{
                title:'借方',
                field:'buname',
                width:'12%',
                className:'bdtlr',
                align:'right'
            }, {
                title:'贷方',
                field:'buname',
                width:'12%',
                className:'bdtlr',
                align:'right'
            }]
        }, {
            title:'期末余额',
            width:'24%',
            className:'bdlr',
            children:[{
                title:'借方',
                field:'buname',
                width:'12%',
                className:'bdtlr',
                align:'right'
            }, {
                title:'贷方',
                field:'buname',
                width:'12%',
                className:'bdtlr',
                align:'right'
            }]
        }]
    },
    moreLayer:function(){
        var that = this;
        return {
            onInit:function(self){

            }
        }
    }
})